package com.oktest.measure.ui.fragment.work

import android.os.Bundle
import com.cali.common.constant.EventObj
import com.cali.common.kt.post
import com.cali.libcore.base.BaseFragment
import com.oktest.measure.R
import kotlinx.android.synthetic.main.fragment_video.*

/**
 * @Author hhh
 * @Date 2020/10/27
 */
class VideoFragment:BaseFragment() {
    companion object{
        const val VIDEO_ITEM = "video_item"
    }
    override fun getLayoutId() = R.layout.fragment_video

    override fun initData(savedInstanceState: Bundle?) {
        cameraSurfaceView.onConfirm {
            EventObj(VIDEO_ITEM,it).post()
            pop()
        }
    }

}